Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Externalize prepare template #100

Merged
merged 4 commits into from
Dec 15, 2022

Conversation

willybrauner
Copy link
Member

No description provided.

@willybrauner willybrauner merged commit ad0d7a6 into migration-chersite-node Dec 15, 2022
@willybrauner willybrauner deleted the externalize-prepare-template branch December 15, 2022 16:34
willybrauner pushed a commit that referenced this pull request Dec 15, 2022
* Externalize prepare template

* Update doc

* Add route example

* Add lang in template
willybrauner pushed a commit that referenced this pull request Dec 15, 2022
* Migrate

* Update logger

* Remove imports

* Update base

* update gitignore

* Remove service php in dist

* Update server

* Update doc

* Update doc

* Update docker compose config with expose node server port + comments

* Update prerender server logs

* Update htaccess template

* Update prerender & add vite-plugin-html

* Update htaccess path generation

* Add VITE_APP_BASE in vite.script.config.js + prepare URL in index-server.tsx

* Use process.env.VITE_APP_BASE instead of import.meta.env in config

* Load process.env AFTER loadEnv

* Fix typo

* Remove unused import in server.js

* Update VITE_APP_BASE strategy server/client

* Add fsevents and esbuild-android-arm64 as optionalDependency

* Add generate to build task

* Modify prerender URLs

* Remove postinstall npm script

* Update cher-ami/router to beta.13

* Add css module conf in vite.scripts.config

* Remove env-cmd dependency

* Improve prerender > check if is url need to be /folder/index

* Fix assets resolution prerender (#102)

* Add base to prerender

* Update router

* Externalize prepare template (#100)

* Externalize prepare template

* Update doc

* Add route example

* Add lang in template

* Move to vite 4

* 2.0.0

Co-authored-by: Bastien Cornier <bastien@cher-ami.tv>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant